nasCreate
Description
nas create.
Request Method
POST
Request Path
/customer/nas/create
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
resourcePlanType | BODY | string | Yes | No sample value for this parameter. | resource plan type,GeneralPurposeNASResourcePlan |
period | BODY | integer | Yes | No sample value for this parameter. | period |
cost | BODY | string | Yes | No sample value for this parameter. | cost |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
billingMethod | BODY | string | Yes | No sample value for this parameter. | billing method(nas package only support Subscription) |
voucherInstanceId | BODY | string | Yes | No sample value for this parameter. | voucher of the order |
pricingCycle | BODY | string | Yes | No sample value for this parameter. | pricing cycle, Year/Month |
couponInstanceId | BODY | string | Yes | No sample value for this parameter. | coupon of the order |
capacity | BODY | integer | Yes | No sample value for this parameter. | package capacity, GB |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
result | object | `{"instanceId":"NAS-NRP339782378999668736","orderId":"2023011120283100001"}` | No description for this parameter. |
resultCode | string | 0 | No description for this parameter. |
resultMsg | string | success | No description for this parameter. |
Example
Successful Response example
{
"result":
{
"instanceId":"NAS-NRP339782378999668736",
"orderId":"2023011120283100001"
},
"resultCode":"0",
"resultMsg":"success"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}